package com.core.redis.job;


import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.core.redis.publisher.MyPublisher;

public class QuartzJob implements Job{

	private static Logger logger = Logger.getLogger(QuartzJob.class);
	
	@Override
	public void execute(JobExecutionContext arg0) throws JobExecutionException {

		MyPublisher publish = new MyPublisher();
		
		publish.publish();
		
	}
	
}
